home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / lib / partman / visual.d / 25method < prev    next >
Text File  |  2009-10-28  |  233b  |  24 lines

  1. #!/bin/sh
  2.  
  3. cd $1
  4.  
  5. num=$2
  6. id=$3
  7. size=$4
  8. type=$5
  9. fs=$6
  10. path=$7
  11. name=$8
  12.  
  13. if [ -f $id/method ]; then
  14.     if [ -f $id/format ]; then
  15.         if [ -f $id/detected_filesystem ]; then
  16.             printf "F"
  17.         else
  18.             printf "f"
  19.         fi
  20.     else
  21.         printf "K"
  22.     fi
  23. fi
  24.